home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 21 / AACD 21.iso / AACD / Utilities / Ghostscript / src / gdevppla.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-01-01  |  2.1 KB  |  52 lines

  1. /* Copyright (C) 1999 Aladdin Enterprises.  All rights reserved.
  2.   
  3.   This file is part of AFPL Ghostscript.
  4.   
  5.   AFPL Ghostscript is distributed with NO WARRANTY OF ANY KIND.  No author or
  6.   distributor accepts any responsibility for the consequences of using it, or
  7.   for whether it serves any particular purpose or works at all, unless he or
  8.   she says so in writing.  Refer to the Aladdin Free Public License (the
  9.   "License") for full details.
  10.   
  11.   Every copy of AFPL Ghostscript must include a copy of the License, normally
  12.   in a plain ASCII text file named PUBLIC.  The License grants you the right
  13.   to copy, modify and redistribute AFPL Ghostscript, but only under certain
  14.   conditions described in the License.  Among other things, the License
  15.   requires that the copyright notice and this notice be preserved on all
  16.   copies.
  17. */
  18.  
  19. /*$Id: gdevppla.h,v 1.2 2000/09/19 19:00:21 lpd Exp $ */
  20. /* Support for printer devices with planar buffering. */
  21. /* Requires gdevprn.h */
  22.  
  23. #ifndef gdevppla_INCLUDED
  24. #  define gdevppla_INCLUDED
  25.  
  26. /* Set the buf_procs in a printer device to planar mode. */
  27. int gdev_prn_set_procs_planar(P1(gx_device *pdev));
  28.  
  29. /* Open a printer device, conditionally setting it to be planar. */
  30. int gdev_prn_open_planar(P2(gx_device *pdev, bool upb));
  31.  
  32. /* Augment get/put_params to add UsePlanarBuffer. */
  33. int gdev_prn_get_params_planar(P3(gx_device * pdev, gs_param_list * plist,
  34.                   bool *pupb));
  35. int gdev_prn_put_params_planar(P3(gx_device * pdev, gs_param_list * plist,
  36.                   bool *pupb));
  37.  
  38. /* Create a planar buffer device. */
  39. /* Use this instead of the default if UsePlanarBuffer is true. */
  40. int gdev_prn_create_buf_planar(P5(gx_device **pbdev, gx_device *target,
  41.                   const gx_render_plane_t *render_plane,
  42.                   gs_memory_t *mem, bool for_band));
  43.  
  44. /* Determine the space needed by a planar buffer device. */
  45. /* Use this instead of the default if UsePlanarBuffer is true. */
  46. int gdev_prn_size_buf_planar(P5(gx_device_buf_space_t *space,
  47.                 gx_device *target,
  48.                 const gx_render_plane_t *render_plane,
  49.                 int height, bool for_band));
  50.  
  51. #endif /* gdevppla_INCLUDED */
  52.